package com.xx.bysj.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.Transient;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class HnOrder {
    private Integer orderId;

    private String orderNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderEndTime;

    private Integer orderUserId;

    private Integer orderReceiveUserId;

    private String orderStatus;

    private String orderSettlementFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderSettlementStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderSettlementEndTime;

    private String orderSettlementMoney;

    private Integer versionNumber;

    @Transient
    private String creatUserName;

    @Transient
    private String acceptUserName;

    @Transient
    private Integer orderPrice;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Date getOrderStartTime() {
        return orderStartTime;
    }

    public void setOrderStartTime(Date orderStartTime) {
        this.orderStartTime = orderStartTime;
    }

    public Date getOrderEndTime() {
        return orderEndTime;
    }

    public void setOrderEndTime(Date orderEndTime) {
        this.orderEndTime = orderEndTime;
    }

    public Integer getOrderUserId() {
        return orderUserId;
    }

    public void setOrderUserId(Integer orderUserId) {
        this.orderUserId = orderUserId;
    }

    public Integer getOrderReceiveUserId() {
        return orderReceiveUserId;
    }

    public void setOrderReceiveUserId(Integer orderReceiveUserId) {
        this.orderReceiveUserId = orderReceiveUserId;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderSettlementFlag() {
        return orderSettlementFlag;
    }

    public void setOrderSettlementFlag(String orderSettlementFlag) {
        this.orderSettlementFlag = orderSettlementFlag;
    }

    public Date getOrderSettlementStartTime() {
        return orderSettlementStartTime;
    }

    public void setOrderSettlementStartTime(Date orderSettlementStartTime) {
        this.orderSettlementStartTime = orderSettlementStartTime;
    }

    public Date getOrderSettlementEndTime() {
        return orderSettlementEndTime;
    }

    public void setOrderSettlementEndTime(Date orderSettlementEndTime) {
        this.orderSettlementEndTime = orderSettlementEndTime;
    }

    public String getOrderSettlementMoney() {
        return orderSettlementMoney;
    }

    public void setOrderSettlementMoney(String orderSettlementMoney) {
        this.orderSettlementMoney = orderSettlementMoney;
    }

    public Integer getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(Integer versionNumber) {
        this.versionNumber = versionNumber;
    }

    public String getCreatUserName() {
        return creatUserName;
    }

    public void setCreatUserName(String creatUserName) {
        this.creatUserName = creatUserName;
    }

    public String getAcceptUserName() {
        return acceptUserName;
    }

    public void setAcceptUserName(String acceptUserName) {
        this.acceptUserName = acceptUserName;
    }

    public Integer getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Integer orderPrice) {
        this.orderPrice = orderPrice;
    }
}